.universal-search {
  position: fixed;
  filter: blur(0);
  opacity: 1;
  background-color: var(--color-universal-search-background);
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(16, 22, 26, 0.1),
    0 4px 8px rgba(16, 22, 26, 0.2),
    0 18px 46px 6px rgba(16, 22, 26, 0.2);
  left: calc(50% - 250px);
  top: 20vh;
  width: 500px;
  z-index: 20;

  &.bp4-overlay-appear,
  &.bp4-overlay-enter {
    filter: blur(20px);
    opacity: 0.2;
  }
  &.bp4-overlay-appear-active,
  &.bp4-overlay-enter-active {
    filter: blur(0);
    opacity: 1;
    transition-delay: 0;
    transition-duration: 0.2s;
    transition-property: filter, opacity;
    transition-timing-function: cubic-bezier(0.4, 1, 0.75, 0.9);
  }
  &.bp4-overlay-exit {
    filter: blur(0);
    opacity: 1;
  }
  &.bp4-overlay-exit-active {
    filter: blur(20px);
    opacity: 0.2;
    transition-delay: 0;
    transition-duration: 0.2s;
    transition-property: filter, opacity;
    transition-timing-function: cubic-bezier(0.4, 1, 0.75, 0.9);
  }

  &__omnibar {
    .bp4-input-group {
      .bp4-icon {
        svg {
          stroke: currentColor;
          fill: none;
          fill-rule: evenodd;
          stroke-linecap: round;
          stroke-linejoin: round;
        }
      }
    }

    .bp4-input-group .bp4-input {
      border: 0;
      box-shadow: 0 0 0 0;
      height: 50px;
      line-height: 50px;
      font-size: 20px;
    }
    .bp4-input-group.bp4-large .bp4-input:not(:first-child) {
      padding-left: 50px !important;
    }
    .bp4-input-group.bp4-large .bp4-input:not(:last-child) {
      padding-right: 130px !important;
    }

    .bp4-input-group {
      .bp4-icon {
        margin: 16px;
        color: var(--color-universal-search-icon);

        svg {
          stroke-width: 2;
          --text-opacity: 1;
        }
      }
    }

    .bp4-menu {
      border-top: 1px solid var(--color-universal-search-menu-border);
      max-height: calc(60vh - 20px);
      overflow: auto;

      .bp4-menu-item {
        .bp4-text-muted {
          font-size: 12px;

          .bp4-icon {
            color: #8499a7;
          }
        }
        &.bp4-intent-primary {
          &.bp4-active {
            background-color: rgb(235, 241, 246);
            color: #252b30;

            .bp4-menu-item-label {
              color: #5c7080;
            }
          }
        }

        &-label {
          flex-direction: row;
          text-align: right;
        }
      }
    }

    .bp4-input-action {
      height: 100%;
      display: flex;
      flex-direction: row;
      align-items: center;
    }
  }

  &__type-select-overlay {
    .bp4-button {
      margin: 0 !important;
    }
  }

  &__footer {
    padding: 12px 12px;
    border-top: 1px solid var(--color-universal-search-footer-divider);
  }

  &__actions {
    display: flex;
  }

  &__action {
    &:not(:first-of-type) {
      margin-left: 14px;
    }

    .bp4-tag {
      background: var(--color-universal-search-tag-background);
      color: var(--color-universal-search-tag-text);
    }
    &--arrows {
      .bp4-tag {
        padding: 0;
        text-align: center;
        line-height: 16px;
        margin-left: 4px;

        svg {
          fill: var(--color-universal-search-tag-text);
          height: 100%;
          display: block;
          width: 100%;
          padding: 2px;
        }
      }
    }

    .text {
      margin-left: 6px;
    }
  }

  &__footer {
  }

  &-input-right-elements {
    display: flex;
    margin: 10px;

    .bp4-spinner {
      margin-right: 6px;
    }
  }

  &__item {
    &--invoice,
    &--estimate,
    &--bill,
    &--receipt {
      .amount {
        color: #252b30;
      }

      .status {
        font-size: 13px;

        &.status-warning {
          color: rgb(236, 91, 10);
        }

        &.status-success {
          color: #249017;
        }
      }
    }
  }
}
